import { get,post } from './index'

// 管理员登录
export let userlogin=data=>post('/userlogin',data)

// 获取列表
export let menulist = params => get('/menulist', params)
// 添加商品
export let menuadd = data => post('/menuadd', data)
// 删除商品
export let menudelete = data => post('/menudelete', data)
// 获取一条数据
export let menuinfo = data => get('/menuinfo', data)
// 修改一条数据
export let menuedit = data => post('/menuedit', data)